﻿using System.ComponentModel;
using System.Text.Json.Serialization;

namespace DimensionsHelper.Common.Contracts.Excel;

[JsonConverter(typeof(JsonStringEnumConverter<BorderStyle>))]
public enum BorderStyle
{
    /// <summary>
    ///     无边框
    /// </summary>
    [Description("无边框")]
    None,

    /// <summary>
    ///     极细线
    /// </summary>
    [Description("极细线")]
    Hair,

    /// <summary>
    ///     点线
    /// </summary>
    [Description("点线")]
    Dotted,

    /// <summary>
    ///     点虚线
    /// </summary>
    [Description("点虚线")]
    DashDot,

    /// <summary>
    ///     细线
    /// </summary>
    [Description("细线")]
    Thin,

    /// <summary>
    ///     点划线
    /// </summary>
    [Description("点划线")]
    DashDotDot,

    /// <summary>
    ///     虚线
    /// </summary>
    [Description("虚线")]
    Dashed,

    /// <summary>
    ///     中度粗细的点划线
    /// </summary>
    [Description("中度粗细点划线")]
    MediumDashDotDot,

    /// <summary>
    ///     中度粗细的虚线
    /// </summary>
    [Description("中度粗细虚线")]
    MediumDashed,

    /// <summary>
    ///     中长划线
    /// </summary>
    [Description("中度粗细长划线")]
    MediumDashDot,

    /// <summary>
    ///     加粗实线
    /// </summary>
    [Description("加粗实线")]
    Thick,

    /// <summary>
    ///     中度粗细实线
    /// </summary>
    [Description("中度粗细实线")]
    Medium,

    /// <summary>
    ///     双线
    /// </summary>
    [Description("双线")]
    Double
}